<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>checkbox</title>
</head>
<body>
  <input type="checkbox">
  <input type="checkbox">
  <input type="checkbox">
</body>
<style>
  * {
    background: #527318;
    color: #ffe75e;
    font-weight: bold;
    font-size: 30px;
  }

  input {
    margin: auto 100px 40px auto;
    width: 100px;
    height: 100px;
  }

  input::after {
    content: '已勾选';
    display: none;
    width: 150px;
    height: 50px;
    margin-left: 110px;
  }

  input:checked::after {
    display: block;
  }

  
</style>
</html>